package com.shuiyun.log.anno;

import com.shuiyun.log.enums.LogType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD,ElementType.METHOD})
public @interface LogAnno {
    public String idKey() default "id";

    public String dataType();

    public LogType logType() default LogType.INSERT;
}
